package oaSystem.biz.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import oaSystem.biz.ActivityBiz;
import oaSystem.entity.Activity;
import oaSystem.mapper.ActivityMapper;
@Service
public class ActivityBizImpl implements ActivityBiz {
	@Autowired
	private ActivityMapper activityMapper;
	@Override
	public void addActivity(Activity activity) {
		activityMapper.addActivity(activity);
	}
	@Override
	public Activity fetchActivityById(Integer id) {
		// TODO Auto-generated method stub
		return activityMapper.fetchActivityById(id);
	}
	
	

}
